<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>组团云购</title><script async src="http://c.cnzz.com/core.php"></script>
<meta name="keywords" content="组团云购" />
<meta name="description" content="组团云购-购物管理系统" />
<link rel="stylesheet" type="text/css" href="__CSS__/go/GoodsDetails.css"/>
<link rel="stylesheet" type="text/css" href="__CSS__/go/Comm.css"/>
<style>
.AllRecW .AllRecR .AllRecR_T span.user_see_code{
	color: #fff;
}
.AllRecR{ border:1px solid #f8f8f8; background:#f8f8f8; padding:5px 0px; position:relative;}
.user_codes_box{ display:none }
.user_codes { color:#aaa; padding-left:35px;word-break:break-all;overflow:hidden;}
.user_codes i{ width:75px; display:inline-block; text-align:center; height:20px;}
.user_codes_js { width:100%; line-height:40px; background:#f8f8f8;text-align:center; color:#999; cursor:pointer;}
.user_see_code{border-radius:5px; position:absolute; right:10px; width:75px; text-align:center; height:25px; line-height:25px; background:#f60; cursor:pointer; display:none;}
.Allti{
	height:60px;
}
.o2{
	background:url(./images/o2.png) !important;
	background-size:12px !important;
	width:12px !important;height:12px !important;left:295px !important;top:4px !important;
}
.AllRecR{
	background:#fff !important;
}
.AllRecW{width:auto !important;}
</style>
</head>
<body style="width:970px; min-height:35px;  padding-top:20px;background-color:#fff">
		<!--
		<div style="position:relative;height:60px;">
			<span style="position:absolute;width:60px;left:270px;height:60px;display:block;background:url(../../images/Yungo_z.png)"></span>
		</div>
		-->
		         
		<!--获取当前会商品的购买记录50条-->		
		<!--
   		<div class="AllRecW AllRecTime Allti"><p style="margin-top:30px;">2016-08-19</p> <b style="width:12px;height:12px;left:295px;top:28px;background:url(./images/o.png);background-size:12px;"></b></div>    
   		-->
		<volist name="records" id="vo">
		<div class="AllRecW AllReclist"><div class="AllRecL fl"><PHP>echo date('Y-m-d H:i:s')</PHP><i class="o2"></i></div>
			<div class="AllRecR fl"  style="border-radius:4px;">
			<p class="AllRecR_T">            	
				<span name="spCodeInfo" class="AllRecR_Over">
				<a class="Headpic" href="#" target="_blank"><img src="{$vo['uphoto']}" border="0" width="20" height="20"></a>
				<a href="#" target="_blank" class="blue a_color">{$vo['username']}</a>
								{$vo['ip']}
								参与了<em class="Fb orange">{$vo['gonumber']}</em>人次
				</span>     
                <span class="user_see_code" see="off">查看云购码</span>           
			</p>
                <div class="user_codes_box">
                	<div class="user_codes" style="max-height:260px;">
                	<i>{$vo['goucode']}</i>  
                    </div> 
                                                      
                </div>
			</div>
		</div>
		</volist>

                
<script>
$(function(){
	<!--补丁3.1.6_b.0.1-->
	window.parent.set_iframe_height("iframea_bitem","bitem",document.body.offsetHeight+120);
	window.onclick=function(){		
		window.parent.set_iframe_height("iframea_bitem","bitem",document.body.offsetHeight+120);
	};
	<!--补丁3.1.6_b.0.1-->
	  
	$(".AllRecR").mousemove(function(){
		$(this).css("border","1px solid #eee");		
		$(this).find(".user_see_code").show();
	});
	
	
	$(".AllRecR").mouseleave(function(){
		$(this).css("border","1px solid #f8f8f8");	
		if($(this).find(".user_see_code").attr("see") == 'off'){
		$(this).find(".user_see_code").hide();	
		}
	});
	
	$(".user_see_code").click(function(){
		if($(this).attr("see")=='off'){
			$(this).attr("see","on");
			$(this).text("关闭抢购码");
			$(this).parents().next().show();
		}else{
			$(this).text("显示抢购码")
			$(this).attr("see","off");
			$(this).parents().next().hide();
		}
	});
	
	
	$(".user_codes_js").click(function(){	
		var codes = $(this).prev();
		
		if($(this).attr("click") == 'off'){
			var num = $(this).attr("num");		
			var line = Math.ceil(num / 7) * 20;	
			codes.css("max-height",line+"px");
			$(this).attr("click","on");
			$(this).text("收起全部↑");
		}else{
			codes.css("max-height","260px");
			$(this).attr("click","off");
			$(this).text("展开查看全部↓");	
		}
		
	});

});
</script>
</body>
</html>